package com.xo.xodemo.mapper.db1;

import com.xo.xodemo.model.Department;
import com.xo.xodemo.model.Position;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DepartmentMapper {
    List<Department> findAll();
    List<Department> findAllXS();
    int add(@Param("departmentName")String departmentName);
    int delete(@Param("departmentId")Integer departmentId);
    int update(@Param("departmentName")String departmentName);
    List<Department> query(@Param("departmentName")String departmentName);
    List<Integer> findMyJingli();
}
